﻿
namespace OperationPlugins
{
    public interface IOperationContextFactory
    {
        /// <summary>
        /// Creates a new operation context.
        /// </summary>
        /// <param name="operation">Identifies the current operation.</param>
        /// <param name="branch">Identifies the current branch.</param>
        /// <returns>A new operation context</returns>
        OperationContext CreateOperationContext(OperationId operation, BranchId branch);
    }
}
